<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>

<div class="span9">
	<div class="well well-large">
		<ul class="thumbnails">
		  	<li class="span4">
		  		<i class="icon-user"></i> <fmt:message key="BUNDLE_SUPPLIER"/>
		  	
		    	<div class="thumbnail">
				
					<div class="field">
						<fmt:message key="BUNDLE_NOME"/><br />
					
						<input type="text" value="${fornecedor.nome}" readonly/>
					</div>
					
					<div class="field">
						<fmt:message key="BUNDLE_MAIN_PHONE"/><br />
					
						<input type="text" value="${fornecedor.telefone1}" readonly/>
					</div>
					
					<div class="field">
						<fmt:message key="BUNDLE_SECOND_PHONE"/><br />
					
						<input type="text" value="${fornecedor.telefone2}" readonly/>
					</div>
					
					<div class="field">
						<fmt:message key="BUNDLE_EMAIL"/><br />
					
						<input type="text" value="${fornecedor.email}" readonly/>
					</div>
					
				</div>
			</li>
		  	<li class="span4">
		      	<i class="icon-road"></i> <fmt:message key="BUNDLE_ADRESS"/>
		    	
		    	<div class="thumbnail">
			
					<div class="field">
						<fmt:message key="BUNDLE_LOGRADOURO"/><br />
					
						<input type="text" value="${fornecedor.endereco.logradouro}" readonly/>
					</div>
					
					<div class="field">
						<fmt:message key="BUNDLE_NUMERO"/><br />
					
						<input type="text" value="${fornecedor.endereco.numero}" readonly/>
					</div>
					
					<div class="field">
						<fmt:message key="BUNDLE_BAIRRO"/><br />
					
						<input type="text" value="${fornecedor.endereco.bairro}" readonly/>
					</div>
					
					<div class="field">
						<fmt:message key="BUNDLE_COMPLEMENTO"/><br />
					
						<input type="text" value="${fornecedor.endereco.complemento}" readonly/>
					</div>
					
					<div class="field">
						<fmt:message key="BUNDLE_CIDADE"/><br />
					
						<input type="text" value="${fornecedor.endereco.cidade}" readonly/>
					</div>
					
					<div class="field">
						<fmt:message key="BUNDLE_ESTADO"/><br />
					
						<input type="text" value="${fornecedor.endereco.estado}" readonly/>
					</div>
					
					<div class="field">
						<fmt:message key="BUNDLE_PAIS"/><br />
					
						<input type="text" value="${fornecedor.endereco.pais}" readonly/>
					</div>
					
					<div class="field">
						<fmt:message key="BUNDLE_CEP"/><br />
					
						<input type="text" value="${fornecedor.endereco.cep}" readonly/>
					</div>
		    	</div>
		  	</li>
		</ul>
	</div>
</div>

<div class="span3">
	<a class="btn btn-primary" href="${pageContext.request.contextPath}/fornecedor/${funcionario.id}/edit">
		<i class="icon-edit icon-white"></i> <fmt:message key="BUNDLE_EDIT"/>
	</a>
	<a class="btn btn-warning" href="${pageContext.request.contextPath}/fornecedor">
		<i class="icon-share-alt icon-white"></i> <fmt:message key="BUNDLE_BACK"/>
	</a>
</div>